package com.fuxin.hanfu.domain;

public class Item {
    //编号
    private Integer id;
    //商品名称
    private String name;
    //单价
    private Double price;
    //库存
    private Integer stock;
    //图片路径
    private String imgUrl;
    //商品描述
    private String describe;
    //尺寸
    private String size;
    //是否上架
    private Integer isDelete;
    //是否推荐
    private Integer isRecommed;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsRecommed() {
        return isRecommed;
    }

    public void setIsRecommed(Integer isRecommed) {
        this.isRecommed = isRecommed;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", price=").append(price);
        sb.append(", stock=").append(stock);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", describe=").append(describe);
        sb.append(", size=").append(size);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", isRecommed=").append(isRecommed);
        sb.append("]");
        return sb.toString();
    }
}
